home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Programmer Disk
/
The Programmer Disk (Microforum).iso
/
xpro
/
pascal4
/
pro22
/
formpas.doc
< prev
next >
Wrap
Text File
|
1989-09-03
|
3KB
|
54 lines
----------------------------
Pascal Source-Code Formatter
----------------------------
Version 2.0
MicroByte Software
NON-REGISTERED COPY MANUAL
This program is designed to format user specified aspects of a Turbo
Pascal source code. Options include case, spacing, retyping, remark
filter/include, and indent amount setting. It will make a backup copy
of the original file. The backup filename will be the same name except
for the extension .OLD will be used or .BAK if original is an .OLD
file. Directory and filename may be specified at command line as
follows:
FORMPAS \Dirc\<filename>
=> COMMENTS and STRING CONSTANTS in code are unaffected!
=> SELECTED PASCAL PHRASES in all lower-case for low profile.
(Like: then else do to in end)
--------------NEW!--------NEW!---------NEW!----------------
For registered users, the program can now take any compilable source
and, word by word, retype the code into standard format with selected
indenting and remark filtering. View Demo.Pas and Demo.Old for a
demonstration of this feature combined with Case and Space formatting.
All FormPas defaults were selected to create it.
Hint: Don't worry about formatting at all when writing your code. Later
have this program do an initial formatting of the file. Then, if
needed, it only takes a little editing to add any special touches like
embedded Upper case using a global replace function with an editor like
ProWriter II, also available on GEnie(IBM roundtable).
Hint: Use the compress program (supplied with registered copy to
compress the file to take less disk space and then expand it by
retyping using FormPas when needed. This is a neat space saver trick.
Hint: Use program as teacher of standard form to new programmers.
Formatting and structure is taught and programs are much more readable!
This program took allot of development and patience. For a registered
copy, manual and Compress program, send a check or money order for $15
payable to:
MicroByte Software
1605 Elk Grove
Richardson, Texas 75081
(214)231-4980